package com.fone.player.sns.util;

import android.content.Context;
import android.webkit.CookieManager;
import android.webkit.CookieSyncManager;

public class WebViewUtil {

	/**
	 * 清除webViewCookies
	 * @param context
	 */
	public static void removeCookies(Context context){
		
		if(context!=null){
			CookieSyncManager.createInstance(context);   
			CookieSyncManager.getInstance().startSync();   
			CookieManager.getInstance().removeSessionCookie();  
		}
		
	}
	
}
